package com.biwin.module.authority.api.enums;

import com.biwin.common.api.enums.IBwEnum;

/**
 * MEN - Menu
 *
 * @author biwin
 * @since 0.0.1
 */
public enum  BwMenuExceptionEnum implements IBwEnum {
    MENU_NOT_EXIST("MEN0001", "菜单不存在"),
    MENU_EXIST("MEN0002", "已存在同名菜单"),
    ;

    private String code;
    private String value;

    BwMenuExceptionEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public void setValue(String value) {
        this.value = value;
    }
}
